import request from '/@/utils/request'
import {prefix} from '/@/api/pms'

// 创建
export function create(data: object) {
    return request({
        url: prefix + '/iPmsApplicationSetting/create',
        method: 'post',
        data
    })
}

// 编辑
export function update(data: object) {
    return request({
        url: prefix + '/iPmsApplicationSetting/update',
        method: 'post',
        data
    })
}


// 获取信息
export function get(id) {
    return request({
        url: prefix + '/iPmsApplicationSetting/get/'+ id,
        method: 'get'
    })
}

// 获取当前登录的企业店铺信息
export function getBymerchantsId(id) {
    return request({
        url: prefix + '/iPmsApplicationSetting/getBymerchantsId/'+ id,
        method: 'get'
    })
}





